package com.kylin.domain.commodity.event;

import com.kylin.shared.common.KylinEvent;
import lombok.Builder;
import lombok.Value;
import org.axonframework.modelling.command.AggregateIdentifier;

import java.time.LocalDateTime;

/**
 * 删除评论事件
 * @author Damon S.
 * @version v1.0.1
 * @date 2020年05月23日 15:44
 */
@Value
@Builder
public class CommentRemovedEvent implements KylinEvent {
    @AggregateIdentifier
    Long commodityId;
    Long commentId;
    Long eventBy;
    LocalDateTime eventAt;
}
